package com.sloth.bear.dto.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sloth.bear.dto.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Moment实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("moment")
public class Moment extends BaseEntity {

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 是否收藏
     */
    private Boolean isFavorite;
}